<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>15_伪类选择器_语言伪类</title>
</head>
<style>
    div:lang(en) {
        color: red;
    }
    :lang(zh-CN) {
        color: brown;
    }
</style>
<body>
    <div>尚硅谷</div>
    <div lang="en">atguigu尚硅谷2</div>
    <p>前端</p>
    <span>你好</span>
</body>
</html>